package com.shiyanlou.upms.system.dao;

import com.shiyanlou.upms.system.domain.UpmsSystem;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface UpmsSystemMapper {
    int deleteByPrimaryKey(Long systemId);

    int insert(UpmsSystem record);

    int insertSelective(UpmsSystem record);

    UpmsSystem selectByPrimaryKey(Long systemId);

    int updateByPrimaryKeySelective(UpmsSystem record);

    int updateByPrimaryKey(UpmsSystem record);

    // 总记录数
    int count(Map<String, Object> map);

    // 分页列表
    List<UpmsSystem> list(Map<String, Object> map);

    // 批量删除
    int batchRemove(Integer[] userIds);
}